Anton Gladky [Fri, 28 Aug 2026 08:57:41 +0000 (08:57 +0000)]
Fix segfault writing ascii .vtu files with implicit cell type arrays
Forwarded: not-yet
NewIterator() returns nullptr for the implicit cell-type arrays used
since VTK 9.6, so WriteAsciiData() dereferenced that nullptr in
iter->Delete(). Merely guarding the Delete() is not enough: the
templated writer already returns early on a null iterator, so the array
is then written empty, and since WriteInlineData() discards the return
value the writer reports success for a file which has lost all of its
cells. Write such arrays through an explicit copy instead.
Closes yade FTBFS.
Gbp-Pq: Name fix_xmlwriter_ascii_implicit_cellarray_segfault.patch
[ Dominique Belhachemi ]
* Team upload.
* Drop libdouble-conversion-dev build dependency
Upstream removed ThirdParty/doubleconversion in v9.6.0
* Drop unused 30_drop_medical_example.patch
[ Francesco Ballarin ]
* Automatically install vtk-{version}.dist-info/METADATA file with minimal
metadata including only the version number, so that a end user running
"pip show vtk" correctly receives the answer that the package is installed
and its version. Closes: #1096135.